package com.jf.mocker.mock;

import com.jf.mocker.anotations.IClassMocker;
import com.jf.mocker.anotations.IMethodMocker;
import com.jf.mocker.anotations.MethodMockType;

/**
 * @Class: MyMocker
 * @Description:
 * @author:s
 * @Date: 2022/9/21
 */
@IClassMocker("com.jf.mocker.MyTestClass3")
public class MyMocker5 {

    @IMethodMocker(name = "setMessage", mockType = MethodMockType.Before, params = {"String","String"})
    public void setMessage(){
        System.out.println("beforeSayHello from MyMocker4!!");
    }

    @IMethodMocker(name = "setMessage", mockType = MethodMockType.After)
    public void setMessage2(){
        System.out.println("afterSayHello from MyMocker4!!");
    }

}
